home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / snowball.swf / scripts / frame_32 / DoAction.as
Text File  |  2011-08-19  |  1KB  |  27 lines

  1. if(_root.weight > _root.recordweight)
  2. {
  3.    _root.recordweight = _root.weight;
  4. }
  5. _root.savefile = SharedObject.getLocal("ags");
  6. _root.savefile.data.playername = _root.playername;
  7. _root.savefile.data.ballspeed = _root.ballspeed;
  8. _root.savefile.data.recordweight = _root.recordweight;
  9. _root.savefile.data.noofchampionships = _root.noofchampionships;
  10. _root.savefile.data.worldrecord = _root.worldrecord;
  11. _root.savefile.data.nationalrecord = _root.nationalrecord;
  12. _root.savefile.data.regionalrecord = _root.regionalrecord;
  13. _root.savefile.data.hometownrecord = _root.hometownrecord;
  14. _root.savefile.data.backyardrecord = _root.backyardrecord;
  15. _root.savefile.data.n_world = _root.n_world;
  16. _root.savefile.data.n_national = _root.n_national;
  17. _root.savefile.data.n_regional = _root.n_regional;
  18. _root.savefile.data.n_hometown = _root.n_hometown;
  19. _root.savefile.data.n_backyard = _root.n_backyard;
  20. _root.savefile.data.worldchampion = _root.worldchampion;
  21. _root.savefile.data.nationalchampion = _root.nationalchampion;
  22. _root.savefile.data.regionalchampion = _root.regionalchampion;
  23. _root.savefile.data.hometownchampion = _root.hometownchampion;
  24. _root.savefile.data.backyardchampion = _root.backyardchampion;
  25. _root.savefile.flush(80000);
  26. stop();
  27.